package com.sang.mapper;

import com.sang.pojo.Order;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderMapper {
    //这个值应该是调用feign之后传来的值
    @Select("select * from tb_order where username = #{username}")
    List<Order> findOrderByUserId(String username);
}
